package lei.n_JSON_Map_JsonString_对象的之间转换;

/**
 * @className: AlertRule
 * @author: xl
 * @date: 2025/7/26 09:43
 * @Version: 1.0
 * @description:
 */

import lombok.Data;

import java.util.Map;

@Data
public class AlertRule {
    private Map<String, Object> diffAbs;
    private Map<String, Object> diffPercent;
    private String relation;

    // getter和setter方法
    public Map<String, Object> getDiffAbs() { return diffAbs; }
    public void setDiffAbs(Map<String, Object> diffAbs) { this.diffAbs = diffAbs; }

    public Map<String, Object> getDiffPercent() { return diffPercent; }
    public void setDiffPercent(Map<String, Object> diffPercent) { this.diffPercent = diffPercent; }

    public String getRelation() { return relation; }
    public void setRelation(String relation) { this.relation = relation; }
}
